$OpenBSD: patch-src_main_c,v 1.19 2015/03/20 14:59:36 dcoppa Exp $

commit 310900e4be52d11388792d776d9f6b89380bbecd
Author: Lars-Dominik Braun <lars@6xq.net>
Date:   Sat Mar 7 16:20:26 2015 +0100

player: Ignore volume change before playback started

--- src/main.c.orig	Sun Sep 28 08:17:29 2014
+++ src/main.c	Fri Mar 20 09:45:26 2015
@@ -292,7 +292,7 @@ static void BarMainStartPlayback (BarApp_t *app, pthre
 
 		/* prevent race condition, mode must _not_ be DEAD if
 		 * thread has been started */
-		app->player.mode = PLAYER_STARTING;
+		app->player.mode = PLAYER_WAITING;
 		/* start player */
 		pthread_create (playerThread, NULL, BarPlayerThread,
 				&app->player);
